<%--
  Created by IntelliJ IDEA.
  User: 862982795
  Date: 2021/06/23
  Time: 21:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="UpdateServlet" method="get">
    <table border="1" cellspacing="0">
        <tr>
            <th colspan="2" style="font-size: 30px">修改信息</th>
        </tr>
        <tr>
            <td>租赁人姓名(*)</td>
            <td><input type="text" class="userName" name="userName" value="${requestScope.rent.userName}"></td>
        </tr>
        <tr>
            <td>车牌号(*)</td>
            <td><input type="text" class="carNum" name="carNum" value="${requestScope.rent.carNum}"></td>
        </tr>
        <tr>
            <td>租赁状态</td>
            <td>
                <input type="radio" name="status" value="0" ${requestScope.rent.status==0 ? 'checked' : ''}>租赁中
                <input type="radio" name="status" value="1" ${requestScope.rent.status==1 ? 'checked' : ''}>已到期
            </td>
        </tr>
        <tr>
            <td>到期日期(*)</td>
            <td><input type="text" class="maturityDate" name="maturityDate" value="${requestScope.rent.maturityDate}"></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <button>修改</button>&nbsp;&nbsp;<button type="button" onclick="history.back();">返回</button>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
